package com.vincent.template.dto.sys.bind;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @author Vincent Wang
 * @date 2021/3/22 22:19
 */
public class BindUserRoleDto {

    @ApiModelProperty(value = "用户ID")
    @NotBlank
    private String userId;

    @ApiModelProperty(value = "角色ID列表")
    @NotEmpty
    private List<Long> roleIds;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public List<Long> getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(List<Long> roleIds) {
        this.roleIds = roleIds;
    }
}
